#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	int A = 0;
	int B = 0;

	while (scanf("%d %d", &A, &B))
	{
		printf("%d\n", A + B);
	}
	return 0;
}